package com.heatup.apt.model.user;

import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;

import java.io.Serializable;
import java.util.Date;

/**
 *
 * 用户评论表
 *
 */
@TableName("user_comment")
public class UserComment implements Serializable {

	@TableField(exist = false)
	private static final long serialVersionUID = 1L;

	/** 用户评论表主键 */
	@TableId
	private Long id;

	/** 关联ID (标准课程ID/门店ID/教练ID/评论ID) */
	@TableField(value = "parent_id")
	private Integer parentId;

	/** 关联类型 0课程 1门店 2教练(单独教练评论时目前未用) 3评论回复 */
	@TableField(value = "parent_type")
	private Integer parentType;

	/** 教练ID(用户评论课程时 填写教练ID) */
	@TableField(value = "coach_id")
	private Integer coachId;

	/** 评论人ID */
	@TableField(value = "comment_by")
	private Integer commentBy;

	/** 评论内容 */
	private String comment;

	/** 评论课程标签以,分隔 */
	@TableField(value = "comment_course_attr")
	private String commentCourseAttr;

	/** 评论教练标签以,分隔 */
	@TableField(value = "comment_coach_attr")
	private String commentCoachAttr;

	/** 评论门店标签以,分隔 */
	@TableField(value = "comment_store_attr")
	private String commentStoreAttr;

	/** 评论学员标签以,分隔 */
	@TableField(value = "comment_user_attr")
	private String commentUserAttr;

	/** 评论星级(1-5) */
	@TableField(value = "comment_star")
	private Integer commentStar;

	/** 评论图片的地址 */
	@TableField(value = "comment_img_url")
	private String commentImgUrl;

	/** 创建人 */
	@TableField(value = "created_by")
	private Integer createdBy;

	/** 创建时间 */
	@TableField(value = "created_date")
	private Date createdDate;

	/** 更新人 */
	@TableField(value = "updated_by")
	private Integer updatedBy;

	/** 更新时间 */
	@TableField(value = "updated_date")
	private Date updatedDate;

	/** 乐观锁版本 */
	private Integer version;


	public Long getId() {
		return this.id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public Integer getParentId() {
		return this.parentId;
	}

	public void setParentId(Integer parentId) {
		this.parentId = parentId;
	}

	public Integer getParentType() {
		return this.parentType;
	}

	public void setParentType(Integer parentType) {
		this.parentType = parentType;
	}

	public Integer getCoachId() {
		return this.coachId;
	}

	public void setCoachId(Integer coachId) {
		this.coachId = coachId;
	}

	public Integer getCommentBy() {
		return this.commentBy;
	}

	public void setCommentBy(Integer commentBy) {
		this.commentBy = commentBy;
	}

	public String getComment() {
		return this.comment;
	}

	public void setComment(String comment) {
		this.comment = comment;
	}

	public String getCommentCourseAttr() {
		return this.commentCourseAttr;
	}

	public void setCommentCourseAttr(String commentCourseAttr) {
		this.commentCourseAttr = commentCourseAttr;
	}

	public String getCommentCoachAttr() {
		return this.commentCoachAttr;
	}

	public void setCommentCoachAttr(String commentCoachAttr) {
		this.commentCoachAttr = commentCoachAttr;
	}

	public String getCommentStoreAttr() {
		return this.commentStoreAttr;
	}

	public void setCommentStoreAttr(String commentStoreAttr) {
		this.commentStoreAttr = commentStoreAttr;
	}

	public String getCommentUserAttr() {
		return this.commentUserAttr;
	}

	public void setCommentUserAttr(String commentUserAttr) {
		this.commentUserAttr = commentUserAttr;
	}

	public Integer getCommentStar() {
		return this.commentStar;
	}

	public void setCommentStar(Integer commentStar) {
		this.commentStar = commentStar;
	}

	public String getCommentImgUrl() {
		return this.commentImgUrl;
	}

	public void setCommentImgUrl(String commentImgUrl) {
		this.commentImgUrl = commentImgUrl;
	}

	public Integer getCreatedBy() {
		return this.createdBy;
	}

	public void setCreatedBy(Integer createdBy) {
		this.createdBy = createdBy;
	}

	public Date getCreatedDate() {
		return this.createdDate;
	}

	public void setCreatedDate(Date createdDate) {
		this.createdDate = createdDate;
	}

	public Integer getUpdatedBy() {
		return this.updatedBy;
	}

	public void setUpdatedBy(Integer updatedBy) {
		this.updatedBy = updatedBy;
	}

	public Date getUpdatedDate() {
		return this.updatedDate;
	}

	public void setUpdatedDate(Date updatedDate) {
		this.updatedDate = updatedDate;
	}

	public Integer getVersion() {
		return this.version;
	}

	public void setVersion(Integer version) {
		this.version = version;
	}

}
